package com.chooseHeader
{
	import flash.events.MouseEvent;

	public class ChooseModeFunc
	{
		private static var cms:ChooseMode;
		public static var imgObj:Object;
		/**
		 * 加载数据 
		 * @param cm
		 * 
		 */
		public static function initData(cm:ChooseMode):void{
			cms=cm;
		}
		public static function chooseImage(evt:MouseEvent,data:Object):void{
			imgObj=data;
			cms.chooseMode.source=evt.currentTarget.source;
		}
	}
}